package com.ruoyi.web.xxj.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * banner轮播图对象 banner
 *
 * @author ruoyi
 * @date 2024-01-20
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("轮播图对象")
public class Banner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty("banner图主键ID")
    private Long id;

    /**
     * banner图名称
     */
    @ApiModelProperty("banner图名称")
    @Excel(name = "banner图名称")
    private String name;

    /**
     * banner图地址
     */
    @ApiModelProperty("banner图地址")
    @Excel(name = "banner图地址")
    private String imgUrl;

    /**
     * 内部链接地址
     */
    @ApiModelProperty("内部链接地址")
    @Excel(name = "内部链接地址")
    private String innerUrl;

    /**
     * 状态：0-正常，1停用
     */
    @ApiModelProperty("状态：0-正常，1停用")
    @Excel(name = "状态：0-正常，1停用")
    private String status;

    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    public Banner(String status,String name) {
        super();
        this.status = status;
        this.name = name;
    }

    
}
